﻿using System.Drawing;
using System.Windows.Forms;

namespace StarWarsSagaCreator
{
    class HitPoints : GroupBox
    {
        private Label currentShow;
        private Label currentLabel;
        private Label hpLabel;
        private Label hpShow;
        private Label srLabel;
        private Label srTotalShow;
        private Label srCurrentShow;
        private Label drShow;
        private Label drLabel;

        public HitPoints()
        {
            hpShow = new Label();
            hpLabel = new Label();
            currentLabel = new Label();
            currentShow = new Label();
            drLabel = new Label();
            drShow = new Label();
            srCurrentShow = new Label();
            srTotalShow = new Label();
            srLabel = new Label();

            hpShow.BorderStyle = BorderStyle.FixedSingle;
            hpShow.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            hpShow.Location = new Point(11, 26);
            hpShow.Name = "hpShow";
            hpShow.Size = new Size(20, 20);
            hpShow.TabIndex = 0;
            hpShow.Text = "20";
            hpShow.TextAlign = ContentAlignment.MiddleCenter;
            hpLabel.Location = new Point(2, 9);
            hpLabel.Name = "hpLabel";
            hpLabel.Size = new Size(38, 13);
            hpLabel.TabIndex = 1;
            hpLabel.Text = "HP";
            hpLabel.TextAlign = ContentAlignment.MiddleCenter;
            currentLabel.AutoSize = true;
            currentLabel.Location = new Point(0, 50);
            currentLabel.Name = "currentLabel";
            currentLabel.Size = new Size(41, 13);
            currentLabel.TabIndex = 2;
            currentLabel.Text = "Current";
            currentShow.BorderStyle = BorderStyle.FixedSingle;
            currentShow.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            currentShow.Location = new Point(11, 67);
            currentShow.Name = "currentShow";
            currentShow.Size = new Size(20, 20);
            currentShow.TabIndex = 3;
            currentShow.Text = "20";
            currentShow.TextAlign = ContentAlignment.MiddleCenter;
            drLabel.Location = new Point(2, 91);
            drLabel.Name = "drLabel";
            drLabel.Size = new Size(38, 13);
            drLabel.TabIndex = 4;
            drLabel.Text = "DR";
            drLabel.TextAlign = ContentAlignment.MiddleCenter;
            drShow.BorderStyle = BorderStyle.FixedSingle;
            drShow.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            drShow.Location = new Point(11, 108);
            drShow.Name = "drShow";
            drShow.Size = new Size(20, 20);
            drShow.TabIndex = 5;
            drShow.Text = "20";
            drShow.TextAlign = ContentAlignment.MiddleCenter;
            srCurrentShow.BorderStyle = BorderStyle.FixedSingle;
            srCurrentShow.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            srCurrentShow.Location = new Point(11, 169);
            srCurrentShow.Name = "srCurrentShow";
            srCurrentShow.Size = new Size(20, 20);
            srCurrentShow.TabIndex = 6;
            srCurrentShow.Text = "20";
            srCurrentShow.TextAlign = ContentAlignment.MiddleCenter;
            srTotalShow.BorderStyle = BorderStyle.FixedSingle;
            srTotalShow.Font = new Font("Microsoft Sans Serif", 9.75F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            srTotalShow.Location = new Point(11, 149);
            srTotalShow.Name = "srTotalShow";
            srTotalShow.Size = new Size(20, 20);
            srTotalShow.TabIndex = 7;
            srTotalShow.Text = "20";
            srTotalShow.TextAlign = ContentAlignment.MiddleCenter;
            srLabel.Location = new Point(2, 132);
            srLabel.Name = "srLabel";
            srLabel.Size = new Size(38, 13);
            srLabel.TabIndex = 8;
            srLabel.Text = "SR";
            srLabel.TextAlign = ContentAlignment.MiddleCenter;

            Controls.Add(srLabel);
            Controls.Add(srTotalShow);
            Controls.Add(srCurrentShow);
            Controls.Add(drShow);
            Controls.Add(drLabel);
            Controls.Add(currentShow);
            Controls.Add(currentLabel);
            Controls.Add(hpLabel);
            Controls.Add(hpShow);
        }
    }
    class Condition : GroupBox
    {
        private CheckBox helpless;
        private CheckBox minus10;
        private CheckBox minus5;
        private CheckBox minus2;
        private CheckBox minus1;
        private CheckBox normal;


        public Condition()
        {
            normal = new CheckBox();
            minus1 = new CheckBox();
            minus2 = new CheckBox();
            minus5 = new CheckBox();
            minus10 = new CheckBox();
            helpless = new CheckBox();

            normal.AutoSize = true;
            normal.Font = new Font("Microsoft Sans Serif", 6F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            normal.Location = new Point(5, 16);
            normal.Name = "normal";
            normal.Size = new Size(31, 14);
            normal.TabIndex = 0;
            normal.Text = "N";
            normal.TextAlign = ContentAlignment.MiddleRight;
            normal.UseVisualStyleBackColor = true;
            minus1.AutoSize = true;
            minus1.Font = new Font("Microsoft Sans Serif", 6F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            minus1.Location = new Point(5, 46);
            minus1.Name = "minus1";
            minus1.Size = new Size(33, 14);
            minus1.TabIndex = 1;
            minus1.Text = "-1";
            minus1.TextAlign = ContentAlignment.MiddleRight;
            minus1.UseVisualStyleBackColor = true;
            minus2.AutoSize = true;
            minus2.Font = new Font("Microsoft Sans Serif", 6F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            minus2.Location = new Point(5, 76);
            minus2.Name = "minus2";
            minus2.Size = new Size(33, 14);
            minus2.TabIndex = 2;
            minus2.Text = "-2";
            minus2.TextAlign = ContentAlignment.MiddleRight;
            minus2.UseVisualStyleBackColor = true;
            minus5.AutoSize = true;
            minus5.Font = new Font("Microsoft Sans Serif", 6F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            minus5.Location = new Point(5, 106);
            minus5.Name = "minus5";
            minus5.Size = new Size(33, 14);
            minus5.TabIndex = 3;
            minus5.Text = "-5";
            minus5.TextAlign = ContentAlignment.MiddleRight;
            minus5.UseVisualStyleBackColor = true;
            minus10.AutoSize = true;
            minus10.Font = new Font("Microsoft Sans Serif", 6F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            minus10.Location = new Point(5, 136);
            minus10.Name = "minus10";
            minus10.Size = new Size(38, 14);
            minus10.TabIndex = 4;
            minus10.Text = "-10";
            minus10.TextAlign = ContentAlignment.MiddleRight;
            minus10.UseVisualStyleBackColor = true;
            helpless.AutoSize = true;
            helpless.Font = new Font("Microsoft Sans Serif", 6F, FontStyle.Bold, GraphicsUnit.Point, ((0)));
            helpless.Location = new Point(5, 166);
            helpless.Name = "helpless";
            helpless.Size = new Size(31, 14);
            helpless.TabIndex = 5;
            helpless.Text = "H";
            helpless.TextAlign = ContentAlignment.MiddleRight;
            helpless.UseVisualStyleBackColor = true;

            Controls.Add(helpless);
            Controls.Add(minus10);
            Controls.Add(minus5);
            Controls.Add(minus2);
            Controls.Add(minus1);
            Controls.Add(normal);

        }
    }
}
